import router = require("plugins/router");
import app = require("durandal/app");

class shell {

    activate() {
        router.map([
            { route: '', title: 'BitShuva Demo Radio', moduleId: 'viewmodels/home', nav: true },
            { route: 'flickr', moduleId: 'viewmodels/flickr', nav: true }
        ]).buildNavigationModel();

        return router.activate();
    }
}

export = shell;